home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Rover 25 Presentation
/
Rover25_Presentation_CD.bin
/
Tool2.cst
/
00011_Script_oval rollover show text
< prev
next >
Wrap
Text File
|
2000-01-31
|
986b
|
54 lines
global gSprite, gWithin
--on prepareFrame me
-- -- if gWithin = 1 then
-- -- hideText
-- -- abort
-- -- else
-- -- set i = the spriteNum of me
-- if sprite 42 intersects sprite the currentSpriteNum then
-- set gSprite = the currentSpriteNum
-- revealText
-- else
-- hideText
-- end if
-- --end if
--end
on mouseEnter me
set gWithin = 1
set gSprite = the spriteNum of me
set the scale of sprite the currentSpriteNum = 100
updateStage
set the visible of sprite (the currentSpriteNum + 1) = 1
end
on mouseWithin me
cursor 280
set gWithin = 1
end
on mouseleave me
cursor -1
set gWithin = 0
set the visible of sprite (the currentSpriteNum + 1) = 0
set the scale of sprite the currentSpriteNum = 90
updateStage
end
on revealText
set the visible of sprite (gSprite + 1) = 1
updateStage
end
on hideText
set the visible of sprite(gSprite + 1) = 0
updateStage
end